package com.bdweb.model;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("bd_power")
public class POWER {
    private Integer id;
    private String powerName;
    private  boolean isopen;
    private String ip;
    private  String port;
    private String codeopen;
    private String codeclose;

    public POWER() {
    }

    public POWER(Integer id, String powerName, boolean isopen, String ip, String port, String codeopen, String codeclose) {
        this.id = id;
        this.powerName = powerName;
        this.isopen = isopen;
        this.ip = ip;
        this.port = port;
        this.codeopen = codeopen;
        this.codeclose = codeclose;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return powerName
     */
    public String getPowerName() {
        return powerName;
    }

    /**
     * 设置
     * @param powerName
     */
    public void setPowerName(String powerName) {
        this.powerName = powerName;
    }

    /**
     * 获取
     * @return isopen
     */
    public boolean isIsopen() {
        return isopen;
    }

    /**
     * 设置
     * @param isopen
     */
    public void setIsopen(boolean isopen) {
        this.isopen = isopen;
    }

    /**
     * 获取
     * @return ip
     */
    public String getIp() {
        return ip;
    }

    /**
     * 设置
     * @param ip
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * 获取
     * @return port
     */
    public String getPort() {
        return port;
    }

    /**
     * 设置
     * @param port
     */
    public void setPort(String port) {
        this.port = port;
    }

    /**
     * 获取
     * @return codeopen
     */
    public String getCodeopen() {
        return codeopen;
    }

    /**
     * 设置
     * @param codeopen
     */
    public void setCodeopen(String codeopen) {
        this.codeopen = codeopen;
    }

    /**
     * 获取
     * @return codeclose
     */
    public String getCodeclose() {
        return codeclose;
    }

    /**
     * 设置
     * @param codeclose
     */
    public void setCodeclose(String codeclose) {
        this.codeclose = codeclose;
    }

    public String toString() {
        return "POWER{id = " + id + ", powerName = " + powerName + ", isopen = " + isopen + ", ip = " + ip + ", port = " + port + ", codeopen = " + codeopen + ", codeclose = " + codeclose + "}";
    }
}
